# SPDX-FileCopyrightText: 2022 Alexander Lohnau <alexander.lohnau@gmx.de>
# SPDX-License-Identifier: BSD-3-Clause

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
find_dependency(KF6ConfigWidgets  "@KF_DEP_VERSION@")
find_dependency(KF6CoreAddons   "@KF_DEP_VERSION@")
find_dependency(Qt6Qml          "@REQUIRED_QT_VERSION@")

if (NOT @BUILD_SHARED_LIBS@)
    find_dependency(Qt6Quick        "@REQUIRED_QT_VERSION@")
    find_dependency(Qt6QuickWidgets "@REQUIRED_QT_VERSION@")

    find_dependency(KF6GuiAddons    "@KF_DEP_VERSION@")
    find_dependency(KF6I18n         "@KF_DEP_VERSION@")
    find_dependency(KF6ItemViews    "@KF_DEP_VERSION@")
    find_dependency(KF6XmlGui       "@KF_DEP_VERSION@")
endif()

@PACKAGE_SETUP_AUTOMOC_VARIABLES@

include("${CMAKE_CURRENT_LIST_DIR}/KF6KCMUtilsTargets.cmake")

include("${CMAKE_CURRENT_LIST_DIR}/KF6KCMUtilsMacros.cmake")

if(CMAKE_CROSSCOMPILING AND KF6_HOST_TOOLING)
    find_file(KCMUTILS_TARGETSFILE KF6KCMUtils/KF6KCMUtilsToolingTargets.cmake
        PATHS ${KF6_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR}
        NO_DEFAULT_PATH
        NO_CMAKE_FIND_ROOT_PATH)
    include("${KCMUTILS_TARGETSFILE}")
else()
    include("${CMAKE_CURRENT_LIST_DIR}/KF6KCMUtilsToolingTargets.cmake")
endif()


@PACKAGE_INCLUDE_QCHTARGETS@
